<template>
	<view class="detailed">
		<div class="title">
			<p>{{detail.pname}}</p>
			<span>{{detail.endtime}}</span>
		</div>
		<div class="cent">
			<image :src="detail.url" mode="aspectFit"></image>
			<view v-html="detail.desc1">
				
			</view>
		</div>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				detail:''
			};
		},
		mounted() {
			this.getCoursedetail()
		},
		methods:{
			getCoursedetail(){
				this.$api('api/tcc/getCompanyDesc').then(res=>{
					this.detail=res
				})
			}
		}
	}
</script>

<style lang="less" scoped>
.detailed{
	padding: 40rpx;
	.title{
		p{font-size: 36rpx;font-weight: bold;color: #666;}
		span{font-size: 18rpx;color: #989898;margin-top: 20rpx;}
	}
	.cent{
		>image{
			width: 100%;
			height: 380rpx;
		}
		margin-top: 30rpx;color: #666;
		p{margin-bottom: 20rpx;color: #666;}

	}
}
</style>
